<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
      margin: 0;
      padding: 0;
    }

    body {
      background-color:pink;
    }

    .bx {
      width: 200px;
      height: 100px;
      margin: 100px auto;
      background: url(../照骗/2024-1024-动画素材/白熊.png) left;
      animation: bxRun 1s steps(8) infinite;
      display: inline-block;
    }

    .bxBox {
      width: 200px;
      height: 100px;
      animation: bxBoxRun 20s linear infinite;

    }

    @keyframes bxRun {
      0% {
        background-position: 1600px;
      }

      100% {
        background-position: 0px;
      }
    }

    @keyframes bxBoxRun {
      0% {
        transform: translateX(-100px);
      }

      100% {
        transform: translateX(1500px);
      }
    }
  </style>
</head>

<body>
  <div class="bxBox">
    <div class="bx"></div>
  </div>
</body>
</html>